import request from "../utils/request";

export type userType =  {
    readonly id: string
    name: string
    email: string
    role: string
}

export const getUserList = () => {
    return request<userType[]>({
        method: "GET",
        url: "user"
    })
}



